﻿namespace Example.Structural.Bridge
{
    public sealed class Fan : Device
    {
        public Fan(IPower power)
            : base(power)
        {
        }

        public int Rpm
        {
            get
            {
                return 4 * Power.Voltage;
            }
        }
    }
}